package com.hhkj.admin.train.common.cont;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * TrainStudentAnswerConst
 *
 * @author HHKJ-SERVER-ZJ
 * @since 2023/5/26 15:01
 */
public class TrainStudentAnswerConst
{
    /** 批改结果标签 正确 right 错误 error 部分正确 partRight 未作答 unanswered */
    @Getter
    @AllArgsConstructor
    public enum CorrectRes {
        RIGHT("right", "正确"),
        ERROR("error", "错误"),
        PART_RIGHT("partRight", "部分正确"),
        UNANSWERED("unanswered", "未作答"),
        ;
        /** 编码 */
        private final String code;
        /** 名称 */
        private final String name;

        @Override
        public String toString()
        {
            return this.code;
        }
    }
}
